package com.gqb.quartz;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashSet;

public class WriteOaFileId {
	@SuppressWarnings("resource")
	public static void main(String[] args) {
		/*System.out.println(WriteOaFileId.class.getResource("/"));
		try {
			String filePath=WriteOaFileId.class.getResource("/").getPath()+"oaIndexId.txt";
			File file=new File(filePath);
			if(file.isFile()&&file.exists()){
				InputStreamReader reader=new InputStreamReader(new FileInputStream(file));
				BufferedReader bufferedReader=new BufferedReader(reader);
				String txtLine=null;
				while((txtLine=bufferedReader.readLine())!=null){
					System.out.println(txtLine);
				}
				FileWriter fileWriter=new FileWriter(file);
				BufferedWriter bw=new BufferedWriter(fileWriter);
				bw.write("TZREC1578=760222222");
				bw.newLine();
				bw.write("TZREC1578=760222222");
				bw.newLine();
				bw.write("TZREC1578=760222222");
				bw.newLine();
				bw.flush();
			}
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}*/
	}
}
